﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class CompanyVisitorInfo : Entity
    {


        private Property<string> visitor = new Property<string>();//访问者 ip或绿商号
        private Property<int> userId = new Property<int>();//被访问的公司userId
        private Property<string> companyName = new Property<string>();//被访问的公司名称
        private Property<string> greenNumber = new Property<string>();//被访问的公司绿商号
        private Property<string> companyScale = new Property<string>();//被访问的公司的主营行业
        private Property<string> companyAddress = new Property<string>();//被访问的公司的地址
        private Property<string> companyContactPhone = new Property<string>();//被访问的公司的联系手机
        public Property<string> companyFixedTelephone1 = new Property<string>();//被访问的公司的固定手机1
        public Property<string> companyFixedTelephone2 = new Property<string>();//被访问的公司的固定手机2
        private Property<DateTime> createDate = new Property<DateTime>();//访问时间

        public Property<int> UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        public Property<string> Visitor
        {
            get { return visitor; }
            set { visitor = value; }
        }
        public Property<string> CompanyName
        {
            get { return companyName; }
            set { companyName = value; }
        }
        public Property<string> GreenNumber
        {
            get { return greenNumber; }
            set { greenNumber = value; }
        }
        public Property<string> CompanyScale
        {
            get { return companyScale; }
            set { companyScale = value; }
        }
        public Property<string> CompanyAddress
        {
            get { return companyAddress; }
            set { companyAddress = value; }
        }
        public Property<string> CompanyContactPhone
        {
            get { return companyContactPhone; }
            set { companyContactPhone = value; }
        }
        public Property<string> CompanyFixedTelephone1
        {
            get { return companyFixedTelephone1; }
            set { companyFixedTelephone1 = value; }
        }
        public Property<string> CompanyFixedTelephone2
        {
            get { return companyFixedTelephone2; }
            set { companyFixedTelephone2 = value; }
        }
        public Property<DateTime> CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }
    }
}